//
//  DicSenTableView.h
//  划词显示
//
//  Created by 盛超 on 2018/8/25.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ModelDic.h"
#import "BKDictAudioPlayer.h"

typedef enum : NSUInteger {
    DictColType_Sen,//释义例句
    DictColType_Coll,//常用搭配
    DictColType_Disc,//辨析
    DictColType_Class//经典例句
} DictColType;

@class DicSenModel;
@class LSPlaySenBtn;

@interface DicSenTableView : UITableView<UITableViewDelegate,UITableViewDataSource>

@property (nonatomic,assign) DictColType moudelID;
@property (nonatomic,strong) ModelDic *modelDic;

@end

@interface DicSenCell : UITableViewCell

@property (nonatomic,strong) BKDictAudioPlayer *player;

@property (nonatomic,strong) NSAttributedString *attr;
@property (nonatomic,strong) NSString *url;
@property (nonatomic,strong) TYAttributedLabel *senlabel;
@property (nonatomic,strong) LSPlaySenBtn *btnImageView;
@property (nonatomic,strong) DicSenModel *model;

@end

@interface LSPlaySenBtn : UIButton

@property (nonatomic,assign) NSInteger index;

@end

